Closed
Conversation
…ree data structure
Member
|
@MKwenhua unfortunately, this does not use |
Member
|
Closing this for now - we will revisit next quarter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
To allow nested tree fields/grouping and to simplify the TreeField datatype.
Make sure to read the extra details.
JIRA
https://careerbuilder.atlassian.net/browse/CE-738
Changes
Improvements and fixes
Changes to developer setup/environment
*
Architectural changes
*
Migrations or Steps to Take on Production
*
Library changes
pomonaSide effects
*
Screenshots
Before
After

Feature Server
How to Verify These Changes
Specific pages to visit
*
Steps to take
*
Responsive considerations
*
Relevant PRs/Dependencies
Additional Information
Ok first I would like to bring up
TreeBuilderwhich I know you do not want to have any complex custom logic, but I assure you that I only built it so that creating the Tree data structure could be more accessible. It generates the tree field ids and makes nesting easier.for example Below I create a two top level head nodes for the topic "Gaming Setup":
Besides the rake seeding task there
TreeBuilderis never used again.Also I added some example code with the function
TreeBranchClickedfor branch selections.Note: There seems to be an elusive bug where the data for
Categoriesseems to disappear during validations, which is why I removed them in this repo